//查 获取
	function getCookie(key) {
		let strCookie = document.cookie;
		let arrCookie = strCookie.split("; ");

		for (let i = 0; i < arrCookie.length; i++) {
			let item = arrCookie[i].split("=");

			if (item[0] == key) {
				return item[1];
			}
		}

		return "";
	}

	//增 设置
	function setCookie(key, value, day) {
		let date = new Date();
		date.setDate(date.getDate() + day);

		document.cookie = key + "=" + value + ";expires=" + date;
	}


	function delCookie(key) {
		setCookie(key, '', -1);
	}
